﻿package foli
{
	import foli.Foto;
	import flash.events.Event;	
	
	public class AlbumEvent extends Event 
	{	
		// events
		public static const FOTO_ADDED: String = "foto_added";		
		
		// reference to the foto which is subject of any event
		public var foto : Foto;
		
		public function AlbumEvent( type: String, f: Foto, bubbles: Boolean = false, cancelable: Boolean = false )
		{
			super(type, bubbles, cancelable);
			foto = f;
		}			
 	}
	
}
